home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Utilities / Disk Wizard 1.0.3 US folder / Documentation < prev    next >
Encoding:
Text File  |  1994-10-01  |  17.0 KB  |  161 lines  |  [TEXT/ttxt]

  1. Disk Wizard Docs
  2. Version 1.0.3
  3. Disk Wizard is Copyright ©1994 by François Pottier.
  4. It is shareware (see below).
  5.  
  6. Hello, daring user! I hope you find this documentation easy to understand. It is a styled text document, which should be opened with Apple's SimpleText.
  7.  
  8. Before you start reading, remember : if there is anything you don't like about Disk Wizard, don't just throw it away - tell me (pottier@dmi.ens.fr). I'm open to all suggestions, and my programs will definitely benefit from your feedback!
  9.  
  10. What is Disk Wizard?
  11.   Disk Wizard is an advanced disk cataloging program. It is made up of two components: a system extension (Wizard INIT) and an application (Disk Wizard). Once it is installed, Disk Wizard automatically catalogs the contents of your removable volumes (floppy, CDs, whatever you wish). Thus, Disk Wizard's catalog is always up-to-date, without your needing to do any scanning chores. Disk Wizard will even see through Stuffit or Compact Pro archives if you wish.
  12.   At any time, you can launch the Disk Wizard application. In seconds, it will answer questions such as "Where did I put file X?" or "On what floppy can I store this 300K file?".
  13.  
  14. Installation
  15.   Disk Wizard requires System 7 or later. It has been tested with systems 7.0, 7.1 and 7.5.
  16.  
  17.   Installing is easy: just put Wizard INIT into your Extensions folder. It will become active after you reboot your Mac. The Disk Wizard application can go anywhere on your disk; I suggest that you place an alias to it in your Apple Menu for quick access.
  18.  
  19. How it works
  20.   Every time you eject a disk, the Wizard notices it and scans its contents before ejecting it. It records the data into a special folder located within your Preferences folder. You will notice that ejecting a disk takes longer than before; the more files there are on the disk, the longer. Disk Wizard recognizes disks based on their name only: you must ensure that every disk has a unique name, otherwise you will confuse the program. The simplest way is to use numbers as names.
  21.  
  22. Here are a few things you should know:
  23. • Holding the Option key while ejecting a disk will force Disk Wizard to ignore it. The catalog data won't be updated, but you will gain time.
  24. • The disk won't be scanned if its contents weren't modified since you last inserted it. Note that opening/closing Finder windows causes the Finder to write some information to the disk, which causes the disk to be scanned again.
  25. • If you rename a disk, Disk Wizard notices it and renames the corresponding entry in its catalog.
  26.  
  27. Using Disk Wizard
  28.  
  29. Windows
  30.   When you launch the Disk Wizard application, it reads the catalog from your hard disk and displays it. The main window, called "Volumes", displays the list of all volumes. Each volume has its own window, which you can bring up by double-clicking on a volume name (or selecting View Contents from the Volumes menu).
  31.  
  32.   In every window, you can select items by clicking on them. Shift-clicking selects a range, and command-clicking adds or removes a single line to/from the current selection. This should be the behavior you're used to.
  33.  
  34.   If you wish to hide some of the columns (for instance, the files' creation dates), click in upper right corner of the window. A popup menu will appear; it lets you select which columns should be visible and which should be hidden.
  35.  
  36.   The list displayed by the volume window can be sorted according to the data contained in any column; that is, by name, free space, capacity, number of files, creation date or modification date. To change the sorting criterion, just click on the column name. The active criterion is underlined.
  37.  
  38.   These settings will be saved across invocations of Disk Wizard.
  39.  
  40. Menus
  41.   The Main menu contains important commands. Find File and Find Next are described later, in a section of their own. Same thing applies for Preferences. Quit justs quits Disk Wizard, of course.
  42.   The Volumes menu is active when you have selected volumes in the Volumes window. Selecting Forget Volumes clears all selected volumes from the database; use it with caution, as no confirmation dialog will appear. Choosing View Contents will display the contents of the selected disks (each disk has its own window). You can double-click as a shortcut.
  43.   The Items menu is active when you have selected files in a disk window. The Select in Finder command will bring the Finder to the front and make it display the selected files. It will ask you to insert the right disk first if necessary. This feature is very useful to quickly locate relevant files without digging into the folder hierarchy by hand. Double-clicking the selection has the same effect as Select in Finder.
  44.   The Fetch command will copy the selected files or folders from the disk to a place which you specify. When you select this menu, Disk Wizard first asks you to select a destination folder; then, it asks you to insert the right disk, if necessary. Finally, it copies the selected items. Double-clicking while holding the option key has the same effect as Fetch.
  45.  
  46.   Note: using Fetch is recommended over using Select in Finder and then copying files by hand. There are two reasons: first, Disk Wizard copies files faster than the Finder, which is a real hog as far as copying is concerned. Second, Fetch only reads from the disk, whereas selecting files in the Finder will open the disk's windows, which modifies the disk's contents. As a result, with the latter method, the disk will be scanned again when you eject it, which wastes time.
  47.  
  48.   Note: selecting a folder alone and choosing Fetch copies the folder and its contents. If you select a folder and part (or all) of its contents, Disk Wizard will notice it and will still make only one copy of the folder.
  49.  
  50. Searching
  51.   Searching is Disk Wizard's main purpose. Using its search facilities, you can locate a file in seconds, even if you have hundreds of floppy disks. Select Find File from the Main menu to bring the Search dialog to the front. This dialog looks like the Finder's Find dialog. There's a text field which allows you to enter a search string. The Case sensitive check box specifies whether case differences should be taken into account when searching. The first popup menu (does/does not) allows you to apply a logic NOT to the search criterion. Finally, the second popup menu lets you specify whether the search string should be a part of/the beginning/the end of the file name. The match pattern setting is for advanced users; it allows you to specify a regexp (regular expression) against which the file name should be matched. Regular expressions are described at the end of this file.
  52.   Once you have chosen your search criterion, click Find First (or hit the Return key) to start searching. Disk Wizard will select the first matching item and bring the window it is in to the front. If you wish to continue searching, choose Find Next from the Main menu, hit Cmd-G, or click Find Next in the Search dialog. If no items are found, Disk Wizard will beep.
  53.  
  54. Preferences
  55.   Selecting Preferences from the Main menu brings up the Preferences dialog. It is divided into four parts.
  56. • The first part allows you to set up an exclusion list. Volumes whose names appear in this list will be ignored by Disk Wizard. This is useful if you often use temporary volumes with names like "Untitled", "Junk", "Temporary". It is also useful to avoid cataloging a disk whose contents don't interest you, for example an Audio CD, or a CD which contains a single game made of many files, like MYST.
  57. • The second part allows to you to choose the font and size for all windows.
  58. • The third part lets you tell Disk Wizard whether Stuffit and Compact Pro should be scanned. If you choose to scan them, these archives will look like folders in the displayed hierarchy. Files contained within an archive are displayed in italics to show that they don't actually exist on the disk. The ability to scan compressed archives is a cool feature, I think; however, by turning it off, you will save time (scanning will be faster) and hard disk space (the catalog files will be smaller).
  59. • The last part lets you choose which drives should be scanned. For instance, if you have a floppy disk drive and a SyQuest drive, you might want to catalog only floppies. All you have to do is to deselect your SyQuest drive. By the way, double-clicking is necessary to select/deselect a drive (small interface quirk, sorry). Note that drives are identified by their number; for instance, your internal floppy drive is #1. If there is a disk inside the drive, the disk name will be displayed to help you identify the drive; otherwise, only the number is available.
  60.  
  61. Information window
  62.   Selecting Information from the Windows menu will bring up a small window with a few figures. It tells you the number of disks Disk Wizard knows about; the total numbers of files and folders on them (including files contained inside compressed archives); the amount of memory currently used by Disk Wizard; the amount of remaining memory inside Disk Wizard's partition.
  63.  
  64. Speed and memory
  65.   If you have many files, and especially if you have CD-ROMs, you will find that the catalog data can grow quickly. The average is a few kilobytes for a floppy disk, 800 kilobytes for a CD. Since I didn't want Disk Wizard to be a memory hog, I implemented a lazy memory management scheme : data is read from disk only when it is needed, and it is released when it isn't any more. This makes Disk Wizard a bit slower (compared to reading all data when starting up), but it allows it to run even when little memory is available.
  66.   How to set the partition size for Disk Wizard ? Well, I'd say that 384k should be enough if you have only floppies. If you have CDs or other large volumes, you may want to increase its partition size to 2 or 4 megabytes. Anyway, the more memory you give it, the faster it will be. If Disk Wizard doesn't have enough memory, it will quit rather politely with a -108 error.
  67.   Note that the first time you search for a filename, Disk Wizard reads a lot of data from disk; this is because of its "lazy" strategy. The next searches will be faster because they hopefully won't need to access the disk as often.
  68.  
  69. Disclaimer
  70.   This software is Copyright ©1994 by François Pottier, all rights reserved. I have made a great effort to ensure that it is bug free, but there is no such thing as perfect sofware. I make no warranty whatsoever, either implied or express, as to its correct functioning. When using this software, the user assumes all responsibility for any damages caused, directly or indirectly, by its use.
  71.  
  72. Distribution
  73.   You may copy and give away this software freely, as long as the present documentation remains bundled with it. You may include it in CD-ROMs or other shareware collections, provided that acquiring the collection doesn't remove the user's obligation to register the software. A complimentary CD would be appreciated.
  74.  
  75.   This software is not free - if, after a trial period of a few weeks, you decide to keep it, you must register by sending me $10. Please send only US dollars or French francs, in cash. Please NO CHEQUES (my bank asks for more than $10 to cash a $10 check!)
  76.   Registering gives you the right to use the software, including any future versions. Registered users will be sent new versions as soon as they are released, provided that they can be reached by e-mail from Internet. I won't send updates by regular mail (it would take too much time). I will strive to provide registered users with full support : that is, fix the bugs they encounter and add the features they request.
  77.   Note that I didn't turn this software into "crippleware": it is fully functional, which allows you to use it without waiting for a registration code. Please don't abuse it, remember to register. Just put a $10 bill into an envelope with your address and a few words, and that's it! Please remember to include your e-mail address if you have one. Also, please make it clear that you're registering for Disk Wizard (I have another shareware app, Décor - ask me about it!)
  78.  
  79.   Drop me a mail if you want to discuss site licenses. I'm usually very reasonable.
  80.  
  81. Here's my snail mail address :
  82.   M. François Pottier
  83.   4 rue Colette
  84.   94210 LA VARENNE
  85.   FRANCE
  86.   
  87. You can use Disk Wizard's Edit menu to copy this address to the clipboard.
  88.  
  89. Contacting the author
  90.   If you experience any problems with Disk Wizard, you can send me e-mail at pottier@dmi.ens.fr, on Internet (you can use Disk Wizard's Edit menu to copy this address to the clipboard). I will do my best to fix all reported bugs.
  91.  
  92.   Also, if you think Disk Wizard lacks some features, tell me! Many suggestions end up integrated into the next versions. Without bragging, I think my online support is quite good. Of course I'm more inclined to support registered users...
  93.  
  94. When you report a bug, please give me the following information:
  95. - what version of Disk Wizard you are using
  96. - if Disk Wizard displays an error message, which one, and which error code.
  97. - if Disk Wizard crashes into Macsbug, a log would be useful. Here's how to make one:
  98.       + Type "log <filename>", where <filename> is any name to be used for the log file
  99.       + Type "ip; sc6; sc7; log"
  100.       + Then try "es" to return to the Finder, or "rb" to reboot
  101.   Macsbug sometimes creates the file in weird places, so you may have to use the
  102.   Finder's Find command to locate it.
  103.  
  104. Also, feel free to drop me a mail if you want to suggest enhancements, ask questions, etc.
  105.  
  106. Obtaining the latest version
  107.   The latest version of Disk Wizard is usually available from the large Internet ftp sites such as sumex-aim.stanford.edu or mac.archive.umich.edu.
  108.   You can also get it through my Mosaic home page, as well as my other shareware apps. The URL is http://acacia.ens.fr:8080/home/pottier/index.html.
  109.   Finally, you can send some email to me. I'll put you on my beta testers list if you wish, and you'll be the first to get new versions before the world knows about them.
  110.  
  111. Version History
  112. 1.0 :
  113.   First released version.
  114. 1.0.1 :
  115.   Fixed a severe bug in the INIT which caused problems with Norton Utilities, with various foreign file systems (audio CDs, ISO 9660 CDs, DOS disks), and possibly with lots of other software too.
  116. 1.0.2 :
  117.   Fixed an oversight which prevented Disk Wizard from running on machines without Color QuickDraw.
  118. 1.0.3 :
  119.   Some interface changes to work better on 9" screens.
  120.   Revved the docs.
  121.   Fixed a bug which could cause a crash when ejecting volumes the first time Disk Wizard was installed.
  122.  
  123. Planned Improvements
  124. There are many problems I know about:
  125.  - Some drives refuse to appear in the drive list.
  126.  - Disk Wizard will quit rather abruptly if it runs out of memory.
  127.  - Stuffit 1.5.1 archives are not analyzed correctly.
  128.  
  129. I hope to fix these problems in version 2.0, which will be a complete rewrite with numerous improvements. Among the planned new features are
  130.  - Cool Finder-like interface
  131.  - Fast batch search dialog
  132.  - Ability to export catalogs to text files
  133.  - Ability to search for duplicates
  134.  - Ability to scan fixed drives
  135.  - Accelerated for PowerPC
  136.  
  137. and much more! Stay tuned...
  138.  
  139. Acknowledgements
  140. Thanks to...
  141.   Henry Spencer at U of T for the regexp code.
  142.   Jim Luther of DTS for the MoreFiles library.
  143.   James W. Walker for the ShowIcon7 code.
  144.  
  145. ... and everybody who sent me letters! Thanks to you shareware is a cool hobby!
  146.  
  147. Appendix: Regular expression syntax
  148.  
  149.   Here's the definition of a regular expression. This is intended as a reminder, not an explanation; it will be somewhat steep if you never heard about regexps before.
  150.   A regular expression (sometimes called pattern) is a condensed representation of a set of strings. The strings in this set are said to be matches for the regular expression ; others are said to be rejected by the regexp. For instance, the regular expression '\.c$' matches all strings ending in '.c'.
  151.  
  152.   A regular expression is zero or more branches, separated by `|'.  It matches anything that matches one of the branches.
  153.  
  154.   A branch is zero or more pieces, concatenated.  It matches a match for the first, followed by a match for the second, etc.
  155.  
  156.   A piece is an atom possibly followed by `*', `+', or `?'. An atom followed by `*' matches a sequence of 0 or more matches of the atom.  An atom followed by `+' matches a sequence of 1 or more matches of the atom.  An atom followed by `?' matches a match of the atom, or the null string.
  157.  
  158.  An atom is a regular expression in parentheses (matching a match for the regular expression), a range (see below), `.' (matching any single character), `^' (matching the null string at the beginning of the input string), `$' (matching the null string at the end of the input string), a `\' followed by a single character (matching that character), or a single character with no other significance (matching that character).
  159.  
  160.   A range is a sequence of characters enclosed in `[]'.  It normally matches any single character from the sequence.  If the sequence begins with `^', it matches any single character not from the rest of the sequence.  If two characters in the sequence are separated by `-', this is shorthand for the full list of ASCII characters between them (e.g. `[0-9]' matches any decimal digit).  To include a literal `]' in the sequence, make it the first character (following a possible `^').  To include a literal `-', make it the first or last character.
  161.